package com.travel.photos.http;


import com.travel.photos.bean.FindBean;
import com.travel.photos.bean.FindSearchBean;
import com.travel.photos.bean.FindSearchPurPoseBean;
import com.travel.photos.bean.FindSearchTeavelBean;
import com.travel.photos.bean.OtherUserBean;
import com.travel.photos.bean.PhotoRecommentBean;
import com.travel.photos.bean.RecommendBean;
import com.travel.photos.bean.TravelBean;
import com.travel.photos.config.UrlConfig;

import java.util.Map;

import retrofit2.http.GET;
import retrofit2.http.QueryMap;
import rx.Observable;

/**
 *
 */

public interface RetrofitApiService {
    /*添加接口示例
    Observable<Recommend> getRecomend(@QueryMap()Map<String,String> params);
    @GET("fanfou-api/cookbook/list/{type}")
    Observable<CaipuDetail> getDetail(@Path("type") String type, @QueryMap Map<String, String> map);*/
    @GET(UrlConfig.Path.PHOTO_FIND)
    Observable<FindBean> getFind(@QueryMap Map<String, String> map);
    @GET(UrlConfig.Path.PHOTO_RE)
    Observable<RecommendBean> getRe(@QueryMap Map<String, String> map);
    @GET(UrlConfig.Path.PHOTO_TRAVEL)
    Observable<TravelBean> getTravel(@QueryMap Map<String, String> map);
    @GET(UrlConfig.Path.PHOTO_SearchUser)
    Observable<FindSearchBean> getFindSearchTravel(@QueryMap Map<String, String> map);
    @GET(UrlConfig.Path.PHOTO_SearchPERPOSE)
    Observable<FindSearchPurPoseBean> getFindSearchPurPoseTravel(@QueryMap Map<String, String> map);
    @GET(UrlConfig.Path.PHOTO_SearchTRAVEL)
    Observable<FindSearchTeavelBean> getFindSearchTeavelTravel(@QueryMap Map<String, String> map);
    @GET(UrlConfig.Path.PHOTO_GETLISTUSERS)
    Observable<PhotoRecommentBean> getPhotoRecommentTravel(@QueryMap Map<String, String> map);
    @GET(UrlConfig.Path.PHOTO_USERPICLIST)
    Observable<OtherUserBean> getOtherUserTravel(@QueryMap Map<String, String> map);

}
